using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class RoomGenerator:MonoBehaviour, IGenerationComponent {

	public static HashSet<RoomGenerator> instances = new HashSet<RoomGenerator>();
	public static void ClearInstances() => instances.Clear();

	public void OnGeneration() {
		instances.Add(this);
	}

	private void OnDrawGizmos() {
		Gizmos.color=Color.cyan;
		Gizmos.DrawWireCube(transform.position,Vector3.one);
	}

}
